<script setup>

</script>

<template>
  <view class="withdraw_page">
		<view class="withdraw_money">
			<image class="bg" src="/static/image/user/withdraw_bg.jpg" mode="aspectFill"></image>
			<view class="title">
				<text>可提现金额(元)</text>
				<image mode="widthFix" class="help" src="/static/image/user/help.png"/>
			</view>
			<view class="money">6,086.18</view>
		</view>
		<view class="withdraw_operation">
			<view class="title">提现金额</view>
			<view class="money">
				<text>￥</text>
				<input type="text" placeholder="请输入金额" placeholder-style="color: #B6BDBD;" />
			</view>
			<view class="fee">
				<text>手续费：</text>
				<text>0.6%，</text>
				<text>全部提现</text>
			</view>
		</view>
		<view class="btn_apply_withdraw">申请提现</view>
  </view>

</template>

<style lang="scss">
.withdraw_page {
	width: 750rpx;
	box-sizing: border-box;
  padding: 14rpx 28rpx;
	.withdraw_money {
		position: relative;
		width: 100%;
		height: 184rpx;
		box-sizing: border-box;
		padding: 36rpx 0 0 32rpx;
		.bg {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 184rpx;
		}
		.title {
			position: relative;
			display: flex;
			align-items: center;
			text {
				font-size: 24rpx;
				line-height: 28rpx;
				color: #FFFFFF;
				margin-right: 12rpx;
			}
			image {
				width: 26rpx;
				height: 26rpx;
			}
		}
		.money {
			position: relative;
			font-weight: 500;
			font-size: 48rpx;
			line-height: 56rpx;
			color: #FFFFFF;
			margin-top: 12rpx;
		}
	}
	.withdraw_operation {
		width: 686rpx;
		height: 260rpx;
		background: #FFFFFF;
		border-radius: 8rpx;
		box-sizing: border-box;
		padding: 28rpx 0 48rpx;
		.title {
			font-size: 32rpx;
			line-height: 38rpx;
			color: #303030;
		}
		.money {
			width: 658rpx;
			box-sizing: border-box;
			padding: 18rpx 0;
			margin: 0 auto;
			display: flex;
			align-items: center;
			justify-content: space-between;
			box-shadow: inset 0rpx -1rpx 0rpx 0rpx #EBEEF1;
			text {
				font-weight: 500;
				font-size: 32rpx;
				line-height: 38rpx;
				color: #303030;
				margin-right: 16rpx;
			}
			input {
				border: none;
				border-radius: none;
				background: none;
				outline: none;
				flex: 1;
				font-size: 28rpx;
				line-height: 33rpx;
				
			}
		}
		.fee {
			display: flex;
			margin-top: 16rpx;
			text {
				font-size: 24rpx;
				line-height: 36rpx;
				color: #969699;
				&:nth-of-type(2) {
					color: #303030;
				}
				&:last-of-type {
					color: #FF9832;
				}
			}
		}
	}
	.btn_apply_withdraw {
		width: 686rpx;
		height: 80rpx;
		background: linear-gradient( 90deg, #FF766C 0%, #FF4638 100%);
		border-radius: 40rpx;
		font-size: 28rpx;
		line-height: 33rpx;
		color: #FFFFFF;
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 80rpx auto 0;
	}
}
</style>